package com.vipshop.core;

import com.vipshop.core.base.BaseRepositoryFactoryBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
// jpa使用自定义加载工厂
@EnableJpaRepositories(repositoryFactoryBeanClass = BaseRepositoryFactoryBean.class)
public class VipShopCoreApplication {

    public static void main(String[] args) {
        SpringApplication.run(VipShopCoreApplication.class, args);
    }

}
